package com.ruoyi.web.controller.system;

import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.entity.Course;
import com.ruoyi.common.core.domain.entity.Sfz;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.system.service.impl.SfzService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/*
功能描述:
作者：14136
创造日期：2024/12/30
*/
@Controller
@RequestMapping("system/Sfz")
public class SfzController extends BaseController {
    @Autowired
    private SfzService sfzService;
    @GetMapping("/list")
    public TableDataInfo list(Sfz sfz) {
        startPage();
        List<Course> list =sfzService.selectSfzList(sfz);
        return getDataTable(list);
    }


}
